package com.itcam;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 1.告诉MyBatis扫描哪个包下的所有接口，@MapperScan
 * 2.告诉Mybatis每个mapper接口的xml文件在哪里mybatis.mapper-locations=classpath:/mapper/*.xml
 */
@MapperScan(basePackages = "com.itcam.mapper")
@SpringBootApplication
public class Boot06SsmApplication {

    public static void main(String[] args) {
        SpringApplication.run(Boot06SsmApplication.class, args);
    }

}
